/* 基本配置 */
html, body {
    font-family: PingFang SC, Helvetica, sans-serif !important;
    background-size: auto;
    background-repeat: no-repeat;
    background-position: initial;
}

h1:focus {
    outline: none;
}

::-webkit-scrollbar {
    display: none;
}

a, .btn-link {
    color: #0071c1;
}

/* Layout */

.content {
    padding-top: 1.1rem;
}

.body {
    background-image: linear-gradient(to bottom right, #ff6b6b, #7171ae, #10bce7);
}

.main {
    min-height: 100vh;
    padding: 10px;
}

@keyframes fade-in {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.desktop-phone {
    display: block !important;
}

.desktop-phone-flex {
    display: flex !important;
}

.phone-desktop-flex {
    display: none !important;
}

.phone-desktop {
    display: none !important;
}

.desktop-laptop {
    display: block;
}

/* 手机页面调整 */

@media screen and (max-width: 768px) {

    .container {
        border-radius: 0;
    }

    .content {
        padding-top: 0;
    }

    .main {
        padding: 0 !important;
    }

    .desktop-phone {
        display: none !important;
    }

    .phone-desktop {
        display: block !important;
    }

    .desktop-phone-flex {
        display: none !important;
    }

    .phone-desktop-flex {
        display: flex !important;
    }
}

@media screen and (max-width: 1199px) {
    .desktop-laptop {
        display: none !important;
    }
}

.FrostedGlass {
    padding: 30px;
    background: rgba(255, 255, 255, 0.5);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    box-shadow: inset 0 0 6px rgba(255, 255, 255, 0.3);
}

.apple-card {
    border-radius: 20px;
    height: 300px;
    max-height: 100%;
    transition: .2s;
    background: rgba(255, 255, 255);
    
}

@media screen and (min-width: 768px) {
    .apple-card:hover {
        box-shadow: 0 0 10px #C0C0C0;
        transform: scale(1.02);
        transition: box-shadow 0.3s, border-color 0.3s, transform 0.2s;
    }
}

@media screen and (max-width: 768px) {
    .apple-card:active {
        transform: scale(0.98);
    }
}

.apple-card .apple-card-header {
    background-color: rgba(248, 248, 252, .85);
    border-radius: 20px 20px 0 0;
    padding: 15px 30px 1px;
}

.apple-card .apple-card-context {
    border-radius: 0 0 20px 20px;
    padding: 1px 30px 1px;
    height: 210px;
    overflow: auto;
}

.apple-link {
    color: #1890ff;
    transition: .2s !important;
    text-decoration: none;
    background: linear-gradient(#07f2,#07f2) no-repeat center bottom / 100% 0;
}

.apple-link:hover{
    color: #0066dd;
    background: linear-gradient(#07f2,#07f2) no-repeat center bottom / 100% 100%;
    border-radius: .2em;
}

:is(.apple-link, a[href*="://"], a[target=_blank]):not(:is(.no-icon,svg a,:has(img,svg))):after {
    display: inline-block;
    margin-top: -1px;
    margin-left: 4px;
    width: 1em;
    height: 1em;
    background: currentColor;
    flex-shrink: 0;
    --icon: url("data:image/svg+xml, %3Csvg%20focusable='false'%20width='1em'%20height='1em'%20fill='currentColor'%20style='pointer-events:%20none;'%20xmlns='http://www.w3.org/2000/svg'%20class='icon'%20viewBox='0%200%201024%201024'%3E%3Cpath%20d='M574%20665.4a8.03%208.03%200%200%200-11.3%200L446.5%20781.6c-53.8%2053.8-144.6%2059.5-204%200-59.5-59.5-53.8-150.2%200-204l116.2-116.2c3.1-3.1%203.1-8.2%200-11.3l-39.8-39.8a8.03%208.03%200%200%200-11.3%200L191.4%20526.5c-84.6%2084.6-84.6%20221.5%200%20306s221.5%2084.6%20306%200l116.2-116.2c3.1-3.1%203.1-8.2%200-11.3L574%20665.4zm258.6-474c-84.6-84.6-221.5-84.6-306%200L410.3%20307.6a8.03%208.03%200%200%200%200%2011.3l39.7%2039.7c3.1%203.1%208.2%203.1%2011.3%200l116.2-116.2c53.8-53.8%20144.6-59.5%20204%200%2059.5%2059.5%2053.8%20150.2%200%20204L665.3%20562.6a8.03%208.03%200%200%200%200%2011.3l39.8%2039.8c3.1%203.1%208.2%203.1%2011.3%200l116.2-116.2c84.5-84.6%2084.5-221.5%200-306.1zM610.1%20372.3a8.03%208.03%200%200%200-11.3%200L372.3%20598.7a8.03%208.03%200%200%200%200%2011.3l39.6%2039.6c3.1%203.1%208.2%203.1%2011.3%200l226.4-226.4c3.1-3.1%203.1-8.2%200-11.3l-39.5-39.6z'%2F%3E%3C%2Fsvg%3E");
    -webkit-mask-image: var(--icon);
    mask-image: var(--icon)
}

.apple-link:after {
    content: ""
}